#ifndef IMAMPINPAD_H
#define IMAMPINPAD_H

int inImamPinpad(void);
int	inInitComPortForPinpad(void);
int inEnableFrontEndPinpad(void);
int inDoPinpadRecvProcessSend(void);
int inImamDoPinpadRecvProcessSend(void);
int inSelectPinpadMasterKey(void);
int inGetPinForPinpad(char *szEPin, char *label);
int inGetCardForPinpad(char *szTrack2, char *szPAN);
int inCheckCardForPinpad(char *szPAN, char *szReqBuff);
void vdDisplayPinpadStatus(char *szCode);
extern int inImamGetCom2Device (void);
extern int inReadComPort(char *Recv, int inTimeOut);

extern int inWriteComPort(char *Sent, int inSentSize, int inTimeOut);
extern int inImamCloseComPort(void);
extern int inImamOpenComDevice (void);
extern int inImamGetCom1Device (void);

#endif